package com.yanqu.road.entity.union.parergon;

import com.yanqu.road.entity.DataObject;

public class UnionBussinessmanDetail extends DataObject {
    private int bussinessId;

    private long userId;

    private long bargainPrice;

    /**
     * 砍价时间
     */
    private long bargainTime;

    private boolean hasBuy;

    public int getBussinessId() {
        return bussinessId;
    }

    public void setBussinessId(int bussinessId) {
        if(this.bussinessId != bussinessId) {
            this.bussinessId = bussinessId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public long getBargainPrice() {
        return bargainPrice;
    }

    public void setBargainPrice(long bargainPrice) {
        if(this.bargainPrice != bargainPrice) {
            this.bargainPrice = bargainPrice;
            setUpdateOption();
        }
    }

    public long getBargainTime() {
        return bargainTime;
    }

    public void setBargainTime(long bargainTime) {
        if(this.bargainTime != bargainTime) {
            this.bargainTime = bargainTime;
            setUpdateOption();
        }
    }

    public boolean isHasBuy() {
        return hasBuy;
    }

    public void setHasBuy(boolean hasBuy) {
        if(this.hasBuy != hasBuy) {
            this.hasBuy = hasBuy;
            setUpdateOption();
        }
    }

}
